package hzn.service.impl;

import bean.UserAddress;
import hzn.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import service.UserService;

@Service
public class OrderServiceImpl implements OrderService {
    @Autowired
    UserService service;
    @Override
    public UserAddress initOrder(String id) {
        UserAddress address=service.getUserAddress(id);
        System.out.println("用户的信息："+address);
        return address;
    }
}
